package zhr.chapter5.eight;

public class Example5_8 {
    public static void main(String[] args) {
        Desk desk = new Desk(10,20);
        Cake cake = new Cake(12,8);
        BasketBall basketBall=new BasketBall(10);

        Student mike = new Student("Mike");
        mike.calArea(desk);
        mike.calArea(cake);
        mike.calArea(basketBall);
    }
}
